package com.rui.service;

import com.rui.domain.Teacher;
import com.rui.domain.User;

import java.util.List;

public interface TeacherService {

    //根据工号查找教师信息
    Teacher findTeacherByJobNo(String jobNo);

    boolean addTeacher(Teacher teacher, User user);

    List<Teacher> findAllTeachersAndAcademices();

    boolean deleteTeacher(String jobNo);

    boolean updateTeacher(Teacher teacher);
}
